package org.qs.webservice.dao.user;



import org.apache.ibatis.annotations.Param;
import org.qs.webservice.domain.UsMemberPoint;
import org.springframework.stereotype.Component;

@Component
public interface UsMemberPointMapper {
	/**
	 * 更新积分
	 * @param point
	 * @return
	 */
	int updatePoint(UsMemberPoint point);
	
	/**
	 * 添加积分
	 * @param point
	 * @return
	 */
	int addPoint(UsMemberPoint point);
	
	/**
	 * 获取积分
	 * @param user_id
	 * @return
	 */
	UsMemberPoint getPoint(@Param("user_id")Long user_id);

}